package cn.drenal.capcap.entity.vo.forum;

import cn.drenal.capcap.entity.ArtworkImage;
import cn.drenal.capcap.entity.Comment;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 论坛作品详情VO
 */
@Data
public class ForumArtworkDetailVO {
    // 作品信息
    private Long id;
    private String title;
    private String description;
    private String coverImage;
    private List<ArtworkImage> images;
    private List<String> tags;
    private String categoryName;
    private Long categoryId;
    private LocalDateTime createTime;
    private Integer viewCount;
    private Integer favoriteCount;
    private Integer commentCount;
    private Boolean isLiked; // 当前用户是否点赞
    private Boolean isFavorite; // 当前用户是否收藏
    
    // 作者信息
    private Long userId;
    private String username;
    private String userAvatar;
    private String userBio;
    private Integer likeCount; // 点赞数
    private Integer followerCount; // 粉丝数
    private Integer artworkCount;  // 作品数
    
    // 评论信息
    private List<Comment> comments;
}